package com.gaogzhen.designPattern.hesitation;

import lombok.extern.slf4j.Slf4j;

@Slf4j(topic = "c.Test01")
public class Test01 {
    public static void main(String[] args) throws InterruptedException {
        Hesitation hesitation = new Hesitation();
        hesitation.start();
        hesitation.start();

//        TimeUnit.MILLISECONDS.sleep(3500);
//        log.debug("停止监控线程...");
//        hesitation.stop();
    }
}
